package cn.edu.scau.cmi.duzefeng.client;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class CompositeProgClient extends Application {

	@Override
	public void start(Stage primaryStage) throws Exception {
		FXMLLoader loader = new FXMLLoader(this.getClass().getResource("../compositeprog/view/composite.fxml"));
		Parent parent = loader.load();
		primaryStage.setScene(new Scene(parent));
		primaryStage.setTitle("组合模式，杜泽峰");
		primaryStage.setResizable(false);
		primaryStage.show();
	}

	public static void main(String[] args) {
		launch(args);
	}

}
